Class: Me::Activation

Inherits:
Object
  • Object
show all
Defined in:
lib/me/activation.rb

Direct Known Subclasses

GitActivation, SshActivation

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



13
14
15
16
# File 'lib/me/activation.rb', line 13

def ==(other)
  return false unless other.is_a?(Activation)
  self.commands == other.commands
end

#_with_commands(commands) ⇒ Object



18
19
20
21
# File 'lib/me/activation.rb', line 18

def _with_commands(commands)
  @_commands = commands
  self
end

#build_view(view_factory) ⇒ Object



5
6
7
# File 'lib/me/activation.rb', line 5

def build_view(view_factory)
  view_factory.new(commands: commands)
end

#callObject



9
10
11
# File 'lib/me/activation.rb', line 9

def call
  fail
end