module ItamaeSonarHelper

Public Instance Methods

call_method(method_name, *args) click to toggle source
# File lib/ruboty/itamae_search/actions/itamae-sonar_helper.rb, line 4
def call_method(method_name, *args)
  if args.size == 0
    ItamaeSonar.send(method_name)
  else
    ItamaeSonar.send(method_name, args.first)
  end
end
gem_name() click to toggle source
# File lib/ruboty/itamae_search/actions/itamae-sonar_helper.rb, line 12
def gem_name
  message[:gem_name]
end
limit() click to toggle source
# File lib/ruboty/itamae_search/actions/itamae-sonar_helper.rb, line 16
def limit
  message[:limit].to_i
end