Class: Icss::Meta::CodeAsset

Inherits:
Object
  • Object
show all
Includes:
ReceiverModel
Defined in:
lib/icss/protocol/code_asset.rb

Instance Method Summary collapse

Methods included from ReceiverModel

included, #tree_merge!

Methods included from ReceiverModel::ActsAsTuple

included, #to_tuple

Methods included from RecordModel

#attr_set?, included, #receive!, #to_zaml

Methods included from ReceiverModel::ActsAsLoadable

#merge_from_file!

Methods included from ReceiverModel::ActsAsHash

#[], #[]=, #attributes, #delete, included, #keys

Instance Method Details

#to_hashObject



9
10
11
# File 'lib/icss/protocol/code_asset.rb', line 9

def to_hash()
  { :name => name, :location => location}
end

#to_jsonObject



13
# File 'lib/icss/protocol/code_asset.rb', line 13

def to_json() to_hash.to_json ; end