Sha256: 00fa22b4a972b6f80629e76156cc6f6d64623d3d611dbb6ec07d67421678c3d8
Contents?: true
Size: 878 Bytes
Versions: 5
Compression:
Stored size: 878 Bytes
Contents
#!/usr/bin/env ruby # Copyright (c) 2007, Lin Jen-Shin(a.k.a. godfat 真常) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ludy-0.0.8 | lib/ludy/aspect.rb |
ludy-0.0.5 | lib/ludy/aspect.rb |
ludy-0.0.6 | lib/ludy/aspect.rb |
ludy-0.0.7 | lib/ludy/aspect.rb |
ludy-0.0.9 | lib/ludy/aspect.rb |