class OFlow::Actor::Spec

Attributes

dest[R]
op[R]
type[R]

Public Class Methods

new(op, type) click to toggle source
# File lib/oflow/actor.rb, line 63
def initialize(op, type)
  if op.nil? || op.is_a?(Symbol)
    @op = op
  else
    @op = op.to_sym
  end
  @type = type
end

Public Instance Methods

inspect()
Alias for: to_s
to_s() click to toggle source
# File lib/oflow/actor.rb, line 74
def to_s()
  "Spec{op: #{@op}, type: #{@type}}"
end
Also aliased as: inspect