Sha256: 7cb0be0814f4514d2856d74f1fd5498705b403ca8d6dc02da6b1d84698cfbab4
Contents?: true
Size: 463 Bytes
Versions: 14
Compression:
Stored size: 463 Bytes
Contents
module Radius class ParseTag # :nodoc: def initialize(&b) @block = b end def on_parse(&b) @block = b end def to_s @block.call(self) if @block end end class ParseContainerTag < ParseTag # :nodoc: attr_accessor :name, :attributes, :contents def initialize(name = "", attributes = {}, contents = [], &b) @name, @attributes, @contents = name, attributes, contents super(&b) end end end
Version data entries
14 entries across 12 versions & 3 rubygems