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.
60 61 62 |
# File 'lib/active_fedora/change_set.rb', line 60 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
59 60 61 |
# File 'lib/active_fedora/change_set.rb', line 59 def value @value end |
Instance Method Details
#internal? ⇒ Boolean
64 65 66 67 |
# File 'lib/active_fedora/change_set.rb', line 64 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 |