Method: Markdoc::Sequence::Role#initialize
- Defined in:
- lib/markdoc/sequence.rb
#initialize(type, id, label) ⇒ Role
Returns a new instance of Role.
26 27 28 29 |
# File 'lib/markdoc/sequence.rb', line 26 def initialize(type, id, label) self.type, self.id, self.label = type, id, label self.active = false end |