class Pipl::Tag

Attributes

classification[RW]
content[RW]

Public Class Methods

extra_metadata() click to toggle source
# File lib/pipl/fields.rb, line 672
def self.extra_metadata
  [:classification]
end
new(params={}) click to toggle source
Calls superclass method Pipl::Field::new
# File lib/pipl/fields.rb, line 666
def initialize(params={})
  super params
  @content = params[:content]
  @classification = params[:classification]
end

Public Instance Methods

to_s() click to toggle source
# File lib/pipl/fields.rb, line 676
def to_s
  @content
end