Class: Mohair::From
- Inherits:
-
Object
- Object
- Mohair::From
- Defined in:
- lib/mohair/sql/tree.rb
Instance Method Summary collapse
- #bucket ⇒ Object
-
#initialize(tree) ⇒ From
constructor
A new instance of From.
Constructor Details
#initialize(tree) ⇒ From
Returns a new instance of From.
96 97 98 |
# File 'lib/mohair/sql/tree.rb', line 96 def initialize tree @name = tree[:name] end |
Instance Method Details
#bucket ⇒ Object
99 100 101 |
# File 'lib/mohair/sql/tree.rb', line 99 def bucket @name.to_s end |