Method: Bricky::Image#initialize
- Defined in:
- lib/bricky/image.rb
#initialize(image) ⇒ Image
Returns a new instance of Image.
6 7 8 9 |
# File 'lib/bricky/image.rb', line 6 def initialize(image) self.name = format_name(image) self.path = format_path(image) end |