Class: Trinidad::Extensions::Extension
- Inherits:
-
Object
- Object
- Trinidad::Extensions::Extension
- Extended by:
- Helpers
- Includes:
- Helpers
- Defined in:
- lib/trinidad/extensions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Extension
constructor
A new instance of Extension.
Methods included from Helpers
camelize, deprecate, silence!, silence?, warn
Constructor Details
#initialize(options = {}) ⇒ Extension
Returns a new instance of Extension.
76 77 78 |
# File 'lib/trinidad/extensions.rb', line 76 def initialize( = {}) @options = ? .dup : {} end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
74 75 76 |
# File 'lib/trinidad/extensions.rb', line 74 def @options end |