Sha256: b1e4609dbacc703af406501e7522fa24f4b0f98a415ecbfa6e742095edccac05

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

class BasicObject

  # this shit is meta
  def metaclass; class << self; self; end; end
  def meta_eval &blk; metaclass.instance_eval &blk; end

end

class Object

  def to_sexpr
    Polly::Sexpr.build(self)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polly-0.0.6 lib/polly/extensions/object.rb
polly-0.0.5 lib/polly/extensions/object.rb
polly-0.0.4 lib/polly/extensions/object.rb