Class: FileBuilder::ControllerAction

Inherits:
Object
  • Object
show all
Includes:
Callable
Defined in:
app/services/file_builder.rb

Instance Method Summary collapse

Methods included from Callable

#initialize

Instance Method Details

#callObject



86
87
88
89
90
91
92
93
94
# File 'app/services/file_builder.rb', line 86

def call
  if options['controller_action'].present?
    {
      public_methods: code
    }
  else
    {}
  end
end