Sha256: aabd285d28699d1e2a6402f88cc872b503520ed1bb72e633785c4bcea1fdd246

Contents?: true

Size: 165 Bytes

Versions: 22

Compression:

Stored size: 165 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
supernova-0.6.2 lib/supernova/symbol_extensions.rb
supernova-0.6.1 lib/supernova/symbol_extensions.rb
supernova-0.6.0 lib/supernova/symbol_extensions.rb
supernova-0.4.18 lib/supernova/symbol_extensions.rb
supernova-0.4.17 lib/supernova/symbol_extensions.rb
supernova-0.4.16 lib/supernova/symbol_extensions.rb
supernova-0.4.15 lib/supernova/symbol_extensions.rb
supernova-0.4.14 lib/supernova/symbol_extensions.rb
supernova-0.4.13 lib/supernova/symbol_extensions.rb
supernova-0.3.13 lib/supernova/symbol_extensions.rb
supernova-0.3.12 lib/supernova/symbol_extensions.rb
supernova-0.3.11 lib/supernova/symbol_extensions.rb
supernova-0.3.10 lib/supernova/symbol_extensions.rb
supernova-0.3.9 lib/supernova/symbol_extensions.rb
supernova-0.3.8 lib/supernova/symbol_extensions.rb
supernova-0.3.6 lib/supernova/symbol_extensions.rb
supernova-0.3.5 lib/supernova/symbol_extensions.rb
supernova-0.3.4 lib/supernova/symbol_extensions.rb
supernova-0.3.3 lib/supernova/symbol_extensions.rb
supernova-0.3.2 lib/supernova/symbol_extensions.rb