Class: Kotoshu::ResourceBundle
- Inherits:
-
Struct
- Object
- Struct
- Kotoshu::ResourceBundle
- Defined in:
- lib/kotoshu/resource_bundle.rb
Instance Attribute Summary collapse
-
#cached ⇒ Object
Returns the value of attribute cached.
-
#dictionary ⇒ Object
Returns the value of attribute dictionary.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#language ⇒ Object
Returns the value of attribute language.
-
#model ⇒ Object
Returns the value of attribute model.
-
#rules ⇒ Object
Returns the value of attribute rules.
-
#source_urls ⇒ Object
Returns the value of attribute source_urls.
Instance Method Summary collapse
Instance Attribute Details
#cached ⇒ Object
Returns the value of attribute cached
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def cached @cached end |
#dictionary ⇒ Object
Returns the value of attribute dictionary
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def dictionary @dictionary end |
#frequency ⇒ Object
Returns the value of attribute frequency
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def frequency @frequency end |
#language ⇒ Object
Returns the value of attribute language
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def language @language end |
#model ⇒ Object
Returns the value of attribute model
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def model @model end |
#rules ⇒ Object
Returns the value of attribute rules
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def rules @rules end |
#source_urls ⇒ Object
Returns the value of attribute source_urls
4 5 6 |
# File 'lib/kotoshu/resource_bundle.rb', line 4 def source_urls @source_urls end |
Instance Method Details
#cached? ⇒ Boolean
14 15 16 |
# File 'lib/kotoshu/resource_bundle.rb', line 14 def cached? cached ? true : false end |
#has_frequency? ⇒ Boolean
18 19 20 |
# File 'lib/kotoshu/resource_bundle.rb', line 18 def has_frequency? !frequency.nil? end |
#has_model? ⇒ Boolean
22 23 24 |
# File 'lib/kotoshu/resource_bundle.rb', line 22 def has_model? !model.nil? end |
#has_rules? ⇒ Boolean
26 27 28 |
# File 'lib/kotoshu/resource_bundle.rb', line 26 def has_rules? !rules.nil? end |