Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregorio Galante committed Sep 1, 2017
1 parent 9bf58d6 commit f7a7b33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/evnt/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class Command
attr_reader :params

def initialize(params, _options: {})
puts "--> Inizializzazione comando"
init_command_data(params, _options)
run_command_steps
end
Expand Down
4 changes: 0 additions & 4 deletions lib/evnt/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Event

# Constructor.
def initialize(params)
puts "--> Inizializzazione evento"
init_event_data(params)
run_event_steps
notify_handlers
Expand Down Expand Up @@ -84,19 +83,16 @@ class << self

# This function sets the name for the event.
def name_is(event_name)
puts "--> esecuzione name_is dell'evento #{event_name}"
instance_variable_set(:@_name, event_name)
end

# This function sets the list of attributes for the event.
def attributes_are(*attributes)
puts "--> esecuzione attributes_are dell'evento #{attributes}"
instance_variable_set(:@_attributes, attributes)
end

# This function sets the list of handlers for the event.
def handlers_are(handlers)
puts "--> esecuzione handlers_are dell'evento #{handlers}"
instance_variable_set(:@_handlers, handlers)
end

Expand Down

0 comments on commit f7a7b33

Please sign in to comment.