Sha256: ef281b9a95478adfc01164b8fdf28def48f02224dfd6b96e6d9186722acc5786

Contents?: true

Size: 176 Bytes

Versions: 10

Compression:

Stored size: 176 Bytes

Contents

Symbol.class_eval do
  [:not, :gt, :gte, :lt, :lte, :ne, :nin, :in].each do |method|
    define_method(method) do
      Supernova::Condition.new(self, method)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
supernova-0.7.3 lib/supernova/symbol_extensions.rb
supernova-0.7.2 lib/supernova/symbol_extensions.rb
supernova-0.7.1 lib/supernova/symbol_extensions.rb
supernova-0.7.0 lib/supernova/symbol_extensions.rb
supernova-0.6.8 lib/supernova/symbol_extensions.rb
supernova-0.6.7 lib/supernova/symbol_extensions.rb
supernova-0.6.6 lib/supernova/symbol_extensions.rb
supernova-0.6.5 lib/supernova/symbol_extensions.rb
supernova-0.6.4 lib/supernova/symbol_extensions.rb
supernova-0.6.3 lib/supernova/symbol_extensions.rb