Class: RSX::Loader::Entry
- Inherits:
-
Struct
- Object
- Struct
- RSX::Loader::Entry
- Defined in:
- lib/rsx/loader.rb
Instance Attribute Summary collapse
-
#components ⇒ Object
Returns the value of attribute components.
-
#default ⇒ Object
Returns the value of attribute default.
-
#digest ⇒ Object
Returns the value of attribute digest.
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#path ⇒ Object
Returns the value of attribute path.
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
-
#renderable ⇒ Object
Markup files render through a template; component files render their default export.
Instance Attribute Details
#components ⇒ Object
Returns the value of attribute components
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def components @components end |
#default ⇒ Object
Returns the value of attribute default
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def default @default end |
#digest ⇒ Object
Returns the value of attribute digest
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def digest @digest end |
#mtime ⇒ Object
Returns the value of attribute mtime
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def mtime @mtime end |
#path ⇒ Object
Returns the value of attribute path
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def path @path end |
#template ⇒ Object
Returns the value of attribute template
10 11 12 |
# File 'lib/rsx/loader.rb', line 10 def template @template end |
Instance Method Details
#renderable ⇒ Object
Markup files render through a template; component files render their default export.
13 14 15 |
# File 'lib/rsx/loader.rb', line 13 def renderable default || components.first end |