lib/active_record/hierarchical_query/query.rb
# Specifies a limit for the number of records to retrieve.
#
# @param [Fixnum] value
# @return [ActiveRecord::HierarchicalQuery::Query] self
Specifies a limit for the number of records to retrieve.
Specifies a limit for the number of records to retrieve .
def limit(value)
        @limit_value = value
        self
      end
def limit ( value ) @limit_value = value self end
Specifies a limit for the number of records to retrieve.
Specifies a limit for the number of records to retrieve .
None
ActiveRecord::HierarchicalQuery::Query
value
<not_specific>
<not_specific>
None