Method: RBI::Extend#initialize
- Defined in:
- lib/rbi/model.rb
#initialize(name, *names, loc: nil, comments: [], &block) ⇒ Extend
: (String name, *String names, ?loc: Loc?, ?comments: Array) ?{ (Extend node) -> void } -> void
694 695 696 697 |
# File 'lib/rbi/model.rb', line 694 def initialize(name, *names, loc: nil, comments: [], &block) super(name, names, loc: loc, comments: comments) block&.call(self) end |