Class: Mohair::From

Inherits:
Object
  • Object
show all
Defined in:
lib/mohair/sql/tree.rb

Instance Method Summary collapse

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

#bucketObject



99
100
101
# File 'lib/mohair/sql/tree.rb', line 99

def bucket
  @name.to_s
end