|
@@ 175-178 (lines=4) @@
|
| 172 |
|
AVATARLY_DEFAULTS.merge avatarly_opts |
| 173 |
|
end |
| 174 |
|
|
| 175 |
|
def inflate_identicon_opts(identicon_opts = {}) |
| 176 |
|
identicon_opts = {} unless identicon_opts.is_a? Hash |
| 177 |
|
IDENTICON_DEFAULTS.merge identicon_opts |
| 178 |
|
end |
| 179 |
|
|
| 180 |
|
def avatar_blob(text, style = nil) |
| 181 |
|
style = @style if style.nil? |
|
@@ 170-173 (lines=4) @@
|
| 167 |
|
@logger = opts.key?(:logger) ? opts[:logger] : Logger.new(STDOUT) |
| 168 |
|
end |
| 169 |
|
|
| 170 |
|
def inflate_avatarly_opts(avatarly_opts = {}) |
| 171 |
|
avatarly_opts = {} unless avatarly_opts.is_a? Hash |
| 172 |
|
AVATARLY_DEFAULTS.merge avatarly_opts |
| 173 |
|
end |
| 174 |
|
|
| 175 |
|
def inflate_identicon_opts(identicon_opts = {}) |
| 176 |
|
identicon_opts = {} unless identicon_opts.is_a? Hash |