Class: Lutaml::Rdf::MemberRule

Inherits:
Object
  • Object
show all
Defined in:
lib/lutaml/rdf/member_rule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attr_name) ⇒ MemberRule

Returns a new instance of MemberRule.



8
9
10
# File 'lib/lutaml/rdf/member_rule.rb', line 8

def initialize(attr_name)
  @attr_name = attr_name.to_sym
end

Instance Attribute Details

#attr_nameObject (readonly)

Returns the value of attribute attr_name.



6
7
8
# File 'lib/lutaml/rdf/member_rule.rb', line 6

def attr_name
  @attr_name
end