class Protor::EntryFamily
Attributes
data[R]
name[R]
type[R]
Public Class Methods
new(name, type)
click to toggle source
# File lib/protor/entry_family.rb, line 5 def initialize(name, type) @name = name @type = type @data = {} end
Public Instance Methods
[](label)
click to toggle source
# File lib/protor/entry_family.rb, line 15 def [](label) data[label] end
[]=(label, value)
click to toggle source
# File lib/protor/entry_family.rb, line 11 def []=(label, value) data[label] = value end
each() { |d| ... }
click to toggle source
# File lib/protor/entry_family.rb, line 19 def each return unless block_given? data.each_value{ |d| yield(d) } end