Sha256: 60fe9e8c0cbe091830fa7e48346cca88198f27b2d718178f3bfc6e26b74597a0
Contents?: true
Size: 527 Bytes
Versions: 146
Compression:
Stored size: 527 Bytes
Contents
# frozen-string-literal: true # # The symbol_as extension adds Symbol#as, for creating # Sequel::SQL::AliasedExpression objects. It's # designed as a shortcut so that instead of: # # Sequel[:column].as(:alias) # # you can just write: # # :column.as(:alias) # # To load the extension: # # Sequel.extension :symbol_as # # If you are using Ruby 2+, and you would like to use refinements, there # is a refinement version of this in the symbol_as_refinement extension. # class Symbol include Sequel::SQL::AliasMethods end
Version data entries
146 entries across 127 versions & 2 rubygems