Class: Herb::ActionView::HelperImplicitAttribute
- Inherits:
-
Object
- Object
- Herb::ActionView::HelperImplicitAttribute
- Defined in:
- lib/herb/action_view/helper_registry.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
: String.
-
#skip_wrapping_for ⇒ Object
readonly
: Array.
-
#source ⇒ Object
readonly
: String.
-
#source_with_block ⇒ Object
readonly
: String?.
-
#wrapper ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(name, source, source_with_block, wrapper, skip_wrapping_for) ⇒ HelperImplicitAttribute
constructor
: (String, String, String?, String, Array) -> void.
Constructor Details
#initialize(name, source, source_with_block, wrapper, skip_wrapping_for) ⇒ HelperImplicitAttribute
: (String, String, String?, String, Array) -> void
555 556 557 558 559 560 561 |
# File 'lib/herb/action_view/helper_registry.rb', line 555 def initialize(name, source, source_with_block, wrapper, skip_wrapping_for) @name = name @source = source @source_with_block = source_with_block @wrapper = wrapper @skip_wrapping_for = skip_wrapping_for end |
Instance Attribute Details
#name ⇒ Object (readonly)
: String
548 549 550 |
# File 'lib/herb/action_view/helper_registry.rb', line 548 def name @name end |
#skip_wrapping_for ⇒ Object (readonly)
: Array
552 553 554 |
# File 'lib/herb/action_view/helper_registry.rb', line 552 def skip_wrapping_for @skip_wrapping_for end |
#source ⇒ Object (readonly)
: String
549 550 551 |
# File 'lib/herb/action_view/helper_registry.rb', line 549 def source @source end |
#source_with_block ⇒ Object (readonly)
: String?
550 551 552 |
# File 'lib/herb/action_view/helper_registry.rb', line 550 def source_with_block @source_with_block end |
#wrapper ⇒ Object (readonly)
: String
551 552 553 |
# File 'lib/herb/action_view/helper_registry.rb', line 551 def wrapper @wrapper end |