Module: ImagizerEngine
- Extended by:
- ImagizerEngine
- Included in:
- ImagizerEngine
- Defined in:
- lib/imagizer_engine.rb,
lib/imagizer_engine.rb,
lib/imagizer_engine/url.rb,
lib/imagizer_engine/mount.rb,
lib/imagizer_engine/version.rb,
lib/imagizer_engine/orm/activerecord.rb
Defined Under Namespace
Modules: ActiveRecord, Mount Classes: Railtie, Url, Version
Constant Summary collapse
- VERSION =
"0.0.7"
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
Instance Method Summary collapse
- #[](name) ⇒ Object
- #configure(&block) ⇒ Object
- #definitions ⇒ Object
- #version(name, options = {}) ⇒ Object
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/imagizer_engine.rb', line 6 def host @host end |
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
6 7 8 |
# File 'lib/imagizer_engine.rb', line 6 def use_ssl @use_ssl end |
Instance Method Details
#[](name) ⇒ Object
24 25 26 |
# File 'lib/imagizer_engine.rb', line 24 def [](name) definitions[name.to_sym] end |
#configure(&block) ⇒ Object
12 13 14 |
# File 'lib/imagizer_engine.rb', line 12 def configure(&block) instance_eval(&block) end |
#definitions ⇒ Object
16 17 18 |
# File 'lib/imagizer_engine.rb', line 16 def definitions @definitions ||= Hash.new end |