Sha256: 21ff5a750378c6ec14e25fd1908232369c9a8dd30ab449aa4ce465ae20c4569a

Contents?: true

Size: 141 Bytes

Versions: 29

Compression:

Stored size: 141 Bytes

Contents

class NSSet

  def to_s
    "NSSet(#{self.count}){#{self.allObjects.map{|o| o.inspect}.join(', ')}}"
  end
  
  alias :to_a :allObjects

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
sugarcube-1.0.6 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.5 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.4 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.3 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.2 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.1 lib/sugarcube-to_s/nsset.rb
sugarcube-1.0.0 lib/sugarcube-to_s/nsset.rb
sugarcube-0.20.25 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.24 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.23 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.22 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.21 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.20 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.19 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.18 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.17 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.16 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.15 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.13 lib/sugarcube/to_s/nsset.rb
sugarcube-0.20.12 lib/sugarcube/to_s/nsset.rb