Sha256: 73f029f38154d6234825d0b5e2275be95efc77b931fb2f8066f73fe6aa62b493
Contents?: true
Size: 759 Bytes
Versions: 1
Compression:
Stored size: 759 Bytes
Contents
NilClass.class_eval do include Hotcell::Manipulator::Mixin end TrueClass.class_eval do include Hotcell::Manipulator::Mixin end FalseClass.class_eval do include Hotcell::Manipulator::Mixin end Numeric.class_eval do include Hotcell::Manipulator::Mixin end String.class_eval do include Hotcell::Manipulator::Mixin end Regexp.class_eval do include Hotcell::Manipulator::Mixin end Time.class_eval do include Hotcell::Manipulator::Mixin end Date.class_eval do include Hotcell::Manipulator::Mixin end Array.class_eval do include Hotcell::Manipulator::Mixin end Hash.class_eval do include Hotcell::Manipulator::Mixin def manipulator_invoke method, *arguments arguments.size == 0 && key?(method) ? self[method] : super end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hotcell-0.1.0 | lib/hotcell/extensions.rb |