lib/y_nelson/place.rb in y_nelson-2.3.0 vs lib/y_nelson/place.rb in y_nelson-2.3.2

- old
+ new

@@ -1,7 +1,7 @@ # YNelson::Place is analogical to a spreadsheet cell. It is based on -# YPetri::Place and offers simlar interace. +# YPetri::Place, which is made into a ZZ object using Yzz mixin. # class YNelson::Place < YPetri::Place include YNelson::Yzz # include Mongoid::Document @@ -16,16 +16,32 @@ def initialize( *args ) super end - # Subclass of YTed::Zz::Side. + # FIXME: Because Yzz::SidePair actually parametrizes ::Yzz::PoswardSide + # and ::Yzz::NegwardSide, the following two class definitions will probably + # be ignored. I'm too tired to look into this now, this is for later + # user comfort development of YNelson. + # + # Subclass of Yzz::PoswardSide. # - class Side < Side + class PoswardSide < Yzz::PoswardSide # "Budding": creation of new cells from the cell sides. # def bud( value: L!, f: nil ) - # FIXME + # FIXME -- budding from posward side + end + alias :>> :bud + end + + # Subclass of Yzz::NegwardSide. + # + class NegwardSide < Yzz::NegwardSide + # "Budding": creation of new cells from the cell sides. + # + def bud( value: L!, f: nil ) + # FIXME -- budding from negward side end alias :>> :bud end # Produces the inspect string of the place.