Sha256: 0709b1043438305924fe22ff40930704a73b783a8ac083a1b9e67d0bed7d6acb

Contents?: true

Size: 153 Bytes

Versions: 4

Compression:

Stored size: 153 Bytes

Contents

# -*- encoding : utf-8 -*-
class Object
  
  # just cause its so damm handy
  def to_a
    self.respond_to?(:to_ary) ? self.to_ary : [self]
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
itrigga-core_ext-1.5.1 lib/itrigga/core_ext/object.rb
itrigga-core_ext-1.5.0 lib/itrigga/core_ext/object.rb
itrigga-core_ext-1.3.0 lib/itrigga/core_ext/object.rb
itrigga-core_ext-1.0.0 lib/itrigga/core_ext/object.rb