Sha256: e37a90c2dddd5d7c9643200bdddb7c7a0d35f388463f62b186b004ae981e5137

Contents?: true

Size: 220 Bytes

Versions: 15

Compression:

Stored size: 220 Bytes

Contents

module Ludy


end

module Kernel
  def cut target, &block
    (class << target; self; end)
  end
end

class Name
  def name
    'name'
  end
end

cut Name do
  def name
    "<#{super}>"
  end
  def g
    '??'
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
godfat-ludy-0.1.13 lib/ludy/deprecated/aspect.rb
ludy-0.1.15 lib/ludy/deprecated/aspect.rb
ludy-0.1.1 lib/ludy/deprecated/aspect.rb
ludy-0.1.10 lib/ludy/deprecated/aspect.rb
ludy-0.1.11 lib/ludy/deprecated/aspect.rb
ludy-0.1.13 lib/ludy/deprecated/aspect.rb
ludy-0.1.2 lib/ludy/deprecated/aspect.rb
ludy-0.1.0 lib/ludy/deprecated/aspect.rb
ludy-0.1.4 lib/ludy/deprecated/aspect.rb
ludy-0.1.5 lib/ludy/deprecated/aspect.rb
ludy-0.1.6 lib/ludy/deprecated/aspect.rb
ludy-0.1.7 lib/ludy/deprecated/aspect.rb
ludy-0.1.8 lib/ludy/deprecated/aspect.rb
ludy-0.1.9 lib/ludy/deprecated/aspect.rb
ludy-0.1.3 lib/ludy/deprecated/aspect.rb