Class: Smartthumbs::Config
- Inherits:
-
Object
- Object
- Smartthumbs::Config
- Defined in:
- lib/smartthumbs.rb
Class Attribute Summary collapse
-
.options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Class Attribute Details
.options ⇒ Object
Returns the value of attribute options.
20 21 22 |
# File 'lib/smartthumbs.rb', line 20 def @options end |
Class Method Details
.get_option(key) ⇒ Object
26 27 28 29 |
# File 'lib/smartthumbs.rb', line 26 def get_option(key) self. ||= {} self.[key] end |
.run {|self.options| ... } ⇒ Object
21 22 23 24 |
# File 'lib/smartthumbs.rb', line 21 def run self. ||= {} yield self. end |