Class: Arbi::Modules::Help

Inherits:
Module
  • Object
show all
Defined in:
lib/arbi/modules/help.rb

Instance Attribute Summary

Attributes inherited from Module

#data

Instance Method Summary collapse

Methods inherited from Module

__method_missing__, #every, inherited, #initialize, json_create, method_missing, modules, name, #to_json

Constructor Details

This class inherits a constructor from Arbi::Modules::Module

Instance Method Details

#formatObject



33
34
35
# File 'lib/arbi/modules/help.rb', line 33

def format
  @data.join("\n")
end

#refreshObject



29
30
31
# File 'lib/arbi/modules/help.rb', line 29

def refresh
  @data = Arbi::Modules.modules.keys
end

#valid?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/arbi/modules/help.rb', line 25

def valid?
  true
end