Module: RbsDraper::Decorator

Defined in:
lib/rbs_draper/decorator.rb

Defined Under Namespace

Classes: Generator

Class Method Summary collapse

Class Method Details

.class_to_rbs(klass, rbs_builder, decorated_class: nil) ⇒ Object



8
9
10
# File 'lib/rbs_draper/decorator.rb', line 8

def self.class_to_rbs(klass, rbs_builder, decorated_class: nil)
  Generator.new(klass, rbs_builder, decorated_class: decorated_class).generate
end