Class: ActiveFedora::Attributes::NodeConfig

Inherits:
ActiveTriples::NodeConfig
  • Object
show all
Defined in:
lib/active_fedora/attributes/node_config.rb

Instance Method Summary collapse

Constructor Details

#initialize(term, predicate, options = {}) ⇒ NodeConfig

Returns a new instance of NodeConfig


7
8
9
10
# File 'lib/active_fedora/attributes/node_config.rb', line 7

def initialize(term, predicate, options={})
  super
  @multiple = options[:multiple]
end

Instance Method Details

#multiple?Boolean

Returns:

  • (Boolean)

3
4
5
# File 'lib/active_fedora/attributes/node_config.rb', line 3

def multiple?
  @multiple
end