|
@@ 151-154 (lines=4) @@
|
| 148 |
|
AVATARLY_DEFAULTS.merge avatarly_opts |
| 149 |
|
end |
| 150 |
|
|
| 151 |
|
def inflate_identicon_opts(identicon_opts = {}) |
| 152 |
|
identicon_opts = {} unless identicon_opts.is_a? Hash |
| 153 |
|
IDENTICON_DEFAULTS.merge identicon_opts |
| 154 |
|
end |
| 155 |
|
|
| 156 |
|
def avatar_blob(text, style = nil) |
| 157 |
|
style = @style if style.nil? |
|
@@ 146-149 (lines=4) @@
|
| 143 |
|
@png_metadata = opts.key?(:png_metadata) ? opts[:png_metadata] : {} |
| 144 |
|
end |
| 145 |
|
|
| 146 |
|
def inflate_avatarly_opts(avatarly_opts = {}) |
| 147 |
|
avatarly_opts = {} unless avatarly_opts.is_a? Hash |
| 148 |
|
AVATARLY_DEFAULTS.merge avatarly_opts |
| 149 |
|
end |
| 150 |
|
|
| 151 |
|
def inflate_identicon_opts(identicon_opts = {}) |
| 152 |
|
identicon_opts = {} unless identicon_opts.is_a? Hash |