Class: ActiveFedora::FedoraStatement
- Inherits:
-
Object
- Object
- ActiveFedora::FedoraStatement
- Defined in:
- lib/active_fedora/change_set.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ FedoraStatement
constructor
A new instance of FedoraStatement.
- #internal? ⇒ Boolean
Constructor Details
#initialize(value) ⇒ FedoraStatement
Returns a new instance of FedoraStatement.
62 63 64 |
# File 'lib/active_fedora/change_set.rb', line 62 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
61 62 63 |
# File 'lib/active_fedora/change_set.rb', line 61 def value @value end |
Instance Method Details
#internal? ⇒ Boolean
66 67 68 69 |
# File 'lib/active_fedora/change_set.rb', line 66 def internal? value.object.to_s.start_with?("http://www.jcp.org", "http://fedora.info") || value.predicate.to_s.start_with?("http://fedora.info") end |