class Rectify::EventRecorder

Attributes

events[R]

Public Class Methods

new() click to toggle source
# File lib/rectify/command.rb, line 5
def initialize
  @events = {}
end

Public Instance Methods

method_missing(method_name, *args, &_block) click to toggle source

rubocop:disable Style/MethodMissing

# File lib/rectify/command.rb, line 10
def method_missing(method_name, *args, &_block)
  args = args.first if args.size == 1
  @events[method_name] = args
end
respond_to_missing?(_method_name, _include_private = false) click to toggle source

rubocop:enable Style/MethodMissing

# File lib/rectify/command.rb, line 16
def respond_to_missing?(_method_name, _include_private = false)
  true
end