Class: ActiveFedora::Attributes::NodeConfig
- Inherits:
-
ActiveTriples::NodeConfig
- Object
- ActiveTriples::NodeConfig
- ActiveFedora::Attributes::NodeConfig
- Defined in:
- lib/active_fedora/attributes/node_config.rb
Instance Method Summary collapse
-
#initialize(term, predicate, options = {}) ⇒ NodeConfig
constructor
A new instance of NodeConfig.
- #multiple? ⇒ Boolean
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, = {}) super @multiple = [:multiple] end |
Instance Method Details
#multiple? ⇒ Boolean
3 4 5 |
# File 'lib/active_fedora/attributes/node_config.rb', line 3 def multiple? @multiple end |