class RBI::Protected

Public Class Methods

new(loc: nil, comments: [], &block) click to toggle source
Calls superclass method RBI::Visibility::new
# File lib/rbi/model.rb, line 882
def initialize(loc: nil, comments: [], &block)
  super(:protected, loc: loc, comments: comments)
  block&.call(self)
end