Class: Tbone::Config
- Inherits:
-
Object
- Object
- Tbone::Config
- Defined in:
- lib/tbone.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
10 11 12 |
# File 'lib/tbone.rb', line 10 def params @params end |
Instance Method Details
#add_params(p) ⇒ Object
11 12 13 14 |
# File 'lib/tbone.rb', line 11 def add_params(p) @params ||= {} @params.merge!(p) end |