Class: Jets::Router::MethodCreator::Show

Inherits:
Code
  • Object
show all
Defined in:
lib/jets/router/method_creator/show.rb

Instance Method Summary collapse

Methods inherited from Code

#action, #full_as, #full_meth_name, #full_path, #initialize, #meth_args, #meth_result, #method_name_leaf, #param_name, #path_method, #url_method

Methods included from Util

#get_controller_action, #handle_on!, #join, #underscore

Constructor Details

This class inherits a constructor from Jets::Router::MethodCreator::Code

Instance Method Details

#meth_nameObject



3
4
5
# File 'lib/jets/router/method_creator/show.rb', line 3

def meth_name
  join(singularize(full_as), singularize(method_name_leaf))
end