Class: Icarus::Mod::Tools::Modinfo
- Defined in:
- lib/icarus/mod/tools/modinfo.rb
Overview
Sync methods
Constant Summary
Constants inherited from Baseinfo
Instance Attribute Summary
Attributes inherited from Baseinfo
#created_at, #data, #id, #updated_at
Instance Method Summary collapse
Methods inherited from Baseinfo
#author_id, #errors, #errors?, #file_types, #file_urls, #initialize, #method_missing, #read, #respond_to_missing?, #status, #to_json, #uniq_name, #valid?, #warnings, #warnings?
Constructor Details
This class inherits a constructor from Icarus::Mod::Tools::Baseinfo
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icarus::Mod::Tools::Baseinfo
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 |
# File 'lib/icarus/mod/tools/modinfo.rb', line 10 def to_h db_hash = super db_hash[:meta] = {status:} # Add metadata db_hash end |
#validate ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/icarus/mod/tools/modinfo.rb', line 17 def validate return true if @validated validate_files super end |