# File lib/epub/publication/package/metadata.rb, line 140 def primary_expression? ! subexpression? end
class EPUB::Publication::Package::Metadata::Meta
Attributes
content[RW]
id[RW]
property[RW]
refines[R]
scheme[RW]
Public Instance Methods
inspect()
click to toggle source
# File lib/epub/publication/package/metadata.rb, line 144 def inspect ivs = instance_variables.map {|iv| [iv, instance_variable_get(iv).inspect].join('=') }.join(' ') '<#%s:%#0x %s>' % [self.class, __id__, ivs] end
primary_expression?()
click to toggle source
refines=(refinee)
click to toggle source
# File lib/epub/publication/package/metadata.rb, line 130 def refines=(refinee) @refines = refinee refinee.refiners << self end
refines?()
click to toggle source
# File lib/epub/publication/package/metadata.rb, line 135 def refines? ! refines.nil? end
Also aliased as: subexpression?
to_s()
click to toggle source
# File lib/epub/publication/package/metadata.rb, line 151 def to_s content.to_s end