class Frame

Attributes

astm_version[RW]
machine_model[RW]
records[RW]

Public Class Methods

is_end_frame?(line) click to toggle source
# File lib/ruby_astm/frame.rb, line 21
def self.is_end_frame?(line)
      
end
is_start_frame?(l) click to toggle source
# File lib/ruby_astm/frame.rb, line 12
def self.is_start_frame?(l)
      line_without_control_char = l[1..-1]
      return line_without_control_char =~ /\d+H/
#k = l[0].bytes
      #if k.to_s == "[5]"
      #      puts "ENQ"
      #end
end

Public Instance Methods

initalize(args) click to toggle source
Calls superclass method
# File lib/ruby_astm/frame.rb, line 7
def initalize(args)
      self.records = []
      super(args)
end