Class: Deployinator::Views::LogTable

Inherits:
Layout
  • Object
show all
Defined in:
views/log_table.rb

Instance Method Summary collapse

Instance Method Details

#log_linesObject


3
4
5
6
# File 'views/log_table.rb', line 3

def log_lines
  @params = @params.inject({}) {|p,(k,v)| p[k.intern] = v; p }
  log_to_hash({:no_limit => true}.merge(@params))
end

#show_counts?Boolean

Returns:

  • (Boolean)

8
9
10
# File 'views/log_table.rb', line 8

def show_counts?
  @params[:show_counts] == "true"
end