Class: MinecraftAvatars::BaseImage
- Inherits:
-
Object
- Object
- MinecraftAvatars::BaseImage
- Defined in:
- lib/minecraft-avatars/base_image.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#chunky ⇒ Object
Returns the value of attribute chunky.
Instance Method Summary collapse
- #save(filename, constraints = {}) ⇒ Object
- #to_blob(constraints = {}) ⇒ Object
- #write(io, constraints = {}) ⇒ Object
Instance Attribute Details
#chunky ⇒ Object
Returns the value of attribute chunky.
4 5 6 |
# File 'lib/minecraft-avatars/base_image.rb', line 4 def chunky @chunky end |
Instance Method Details
#save(filename, constraints = {}) ⇒ Object
10 11 12 |
# File 'lib/minecraft-avatars/base_image.rb', line 10 def save(filename, constraints = {}) chunky.save(filename, constraints) end |
#to_blob(constraints = {}) ⇒ Object
6 7 8 |
# File 'lib/minecraft-avatars/base_image.rb', line 6 def to_blob(constraints = {}) chunky.to_blob(constraints) end |
#write(io, constraints = {}) ⇒ Object
14 15 16 |
# File 'lib/minecraft-avatars/base_image.rb', line 14 def write(io, constraints = {}) chunky.write(io, constraints) end |