Sha256: 29823e9aea6b4a4bc69b5d1d55a0df234d8b78e59510a86d238e366d8e62d377

Contents?: true

Size: 136 Bytes

Versions: 4

Compression:

Stored size: 136 Bytes

Contents

class ActiveRecord::NamedScope::Scope
  def to_comma(style = :default)
    Comma::Generator.new(self, style).run(:find_each)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
comma-0.3.2 lib/comma/named_scope.rb
comma-0.3.1 lib/comma/namedscope.rb
liangzan-comma-0.3.1 lib/comma/namedscope.rb
comma-0.3.0 lib/comma/namedscope.rb