Class: MuchRails::Action::HeadResult

Inherits:
BaseCommandResult show all
Defined in:
lib/much-rails/action/head_result.rb

Overview

MuchRails::Views::HeadResult is a command result for the ‘head` controller response command.

Instance Attribute Summary

Attributes inherited from BaseCommandResult

#command_args, #command_name

Instance Method Summary collapse

Methods inherited from BaseCommandResult

#execute_block

Methods inherited from BaseResult

#execute_block

Constructor Details

#initialize(*head_args) ⇒ HeadResult

Returns a new instance of HeadResult.



11
12
13
# File 'lib/much-rails/action/head_result.rb', line 11

def initialize(*head_args)
  super(:head, *head_args)
end

Instance Method Details

#head_argsObject



15
16
17
# File 'lib/much-rails/action/head_result.rb', line 15

def head_args
  command_args
end