class Bullet

Attributes

id[RW]
text[RW]

Public Class Methods

new(classifide, header) click to toggle source
# File lib/classes/bullet.rb, line 5
def initialize(classifide, header)

        both_classifications.each do |classification|
                instance_variable_set(("@" + classification).to_sym, header.send(classification))
        end

        @header_text = @text
        @header_id = @id
        
        @text = classifide.text
        @id = classifide.id
end