Class: Protos::Diff::Item
- Defined in:
- lib/protos/diff/item.rb
Constant Summary collapse
- Order =
Types::Coercible::Symbol.enum(:one, :two)
- ORDER =
{ one: "diff-item-1", two: "diff-item-2" }.freeze
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
15 16 17 |
# File 'lib/protos/diff/item.rb', line 15 def view_template(&) div(**attrs, &) end |