Class: Trinidad::Extensions::Extension

Inherits:
Object
  • Object
show all
Extended by:
Helpers
Includes:
Helpers
Defined in:
lib/trinidad/extensions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {})
  @options = options ? options.dup : {}
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



74
75
76
# File 'lib/trinidad/extensions.rb', line 74

def options
  @options
end