class EPUB::Metadata::Meta

Attributes

content[RW]
id[RW]
meta_content[RW]
name[RW]
property[RW]
refines[R]
scheme[RW]

Public Instance Methods

inspect() click to toggle source
# File lib/epub/metadata.rb, line 165
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
# File lib/epub/metadata.rb, line 161
def primary_expression?
  ! subexpression?
end
refines=(refinee) click to toggle source
# File lib/epub/metadata.rb, line 151
def refines=(refinee)
  refinee.refiners << self
  @refines = refinee
end
refines?() click to toggle source
# File lib/epub/metadata.rb, line 156
def refines?
  ! refines.nil?
end
Also aliased as: subexpression?
subexpression?()
Alias for: refines?
to_s() click to toggle source
# File lib/epub/metadata.rb, line 172
def to_s
  content.to_s
end