Sha256: 03eb785fe1dfcfeaea3b6e099d1ef26b359549ae85f033257a9ec5e68fd67a31

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

module Lomic

class Event
  attr_accessor :name, :priority, :rule_number
  attr_accessor :block
  
  def initialize(attrs)
    attrs.each {|key,val| instance_variable_set "@#{key}", val }
  end
end

end # module

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lomic-0.1.0 lib/lomic/Event.rb
lomic-0.0.2 lib/lomic/Event.rb
lomic-0.0.1 lib/lomic/Event.rb