Class: Arel::Nodes::Settings
- Inherits:
-
Unary
- Object
- Unary
- Arel::Nodes::Settings
- Defined in:
- lib/arel/nodes/settings.rb
Instance Method Summary collapse
-
#initialize(expr) ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize(expr) ⇒ Settings
Returns a new instance of Settings.
4 5 6 7 8 |
# File 'lib/arel/nodes/settings.rb', line 4 def initialize(expr) raise ArgumentError, 'Settings must be a Hash' unless expr.is_a?(Hash) super end |