Sha256: 003b1bf1430ebfc5840f821546c4d39445f1f50cc55c19a83ab6e403ba30275d

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

require "forwardable"
require "dotremap/namespace"
require "dotremap/dsl/group"

class Dotremap::Group
  extend Forwardable
  include Dotremap::XmlTree
  include Dotremap::DSL::Group

  def_delegator :@item, :to_xml
  def_delegator :@item, :add_child

  def initialize(name)
    @item = Dotremap::Item.new(name, skip_identifier: true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dotremap-0.0.8 lib/dotremap/group.rb
dotremap-0.0.7 lib/dotremap/group.rb