Sha256: 799110d1dfba3600d16dab6814aaa6ac0c06e702e3cc46aecfa9a6403cc7fe95

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

class Liza::Part < Liza::Unit
  def self.insertion &block
    if block_given?
      @insertion = block
    else
      @insertion
    end
  end

  def self.extension &block
    if block_given?
      @extension = block
    else
      @extension
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lizarb-1.0.5 lib/liza/meta/part.rb
lizarb-1.0.4 lib/liza/meta/part.rb
lizarb-1.0.3 lib/liza/meta/part.rb