Class: Kennel::Models::Project
- Defined in:
- lib/kennel/models/project.rb
Constant Summary
Constants inherited from Base
Base::LOCK, Base::READONLY_ATTRIBUTES, Base::REQUEST_DEFAULTS
Class Method Summary collapse
Methods inherited from Base
defaults, #diff, inherited, #initialize, #kennel_id, #name, settings, #to_json, #tracking_id, validate_setting_exists
Methods included from SubclassTracking
#recursive_subclasses, #subclasses
Constructor Details
This class inherits a constructor from Kennel::Models::Base
Class Method Details
.file_location ⇒ Object
11 12 13 14 15 16 |
# File 'lib/kennel/models/project.rb', line 11 def self.file_location @file_location ||= begin method_in_file = instance_methods(false).first instance_method(method_in_file).source_location.first.sub("#{Bundler.root}/", "") end end |