class Atomy::MessageStructure::BlockArgument

Attributes

arguments[R]
body[R]
proc_argument[R]

Public Class Methods

new(body, arguments = [], proc_argument = nil) click to toggle source
# File lib/atomy/message_structure.rb, line 21
def initialize(body, arguments = [], proc_argument = nil)
  @body = body
  @arguments = arguments
  @proc_argument = proc_argument
end

Public Instance Methods

==(other) click to toggle source
# File lib/atomy/message_structure.rb, line 27
def ==(other)
  other.is_a?(self.class) && \
    other.body == @body && \
    other.arguments == @arguments && \
    other.proc_argument == @proc_argument
end