Sha256: 26e03764b5a742ddd952388166baa578e4cc79f06690aa57f370a14e915e91a8

Contents?: true

Size: 189 Bytes

Versions: 15

Compression:

Stored size: 189 Bytes

Contents

class Symbol

  DynaModel::Table::COMPARISON_OPERATOR.keys.each do |oper|
    class_eval <<-OPERATORS
      def #{oper}
        "\#\{self.to_s\}.#{oper}"
      end
    OPERATORS
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dyna_model-0.0.15 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.14 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.13 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.12 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.11 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.10 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.9 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.8 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.7 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.6 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.5 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.4 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.3 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.2 lib/dyna_model/extensions/symbol.rb
dyna_model-0.0.1 lib/dyna_model/extensions/symbol.rb