Sha256: d9fdcd359831ec47514346da5182966a8aa096dac8988fccd45819e699dec88b
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
module RBS class Writer attr_reader out: IO attr_reader indentation: Array[String] def initialize: (out: IO) -> void def indent: (?Integer size) { () -> void } -> void def prefix: () -> String def puts: (?String) -> void def write_annotation: (Array[AST::Annotation]) -> void def write_comment: (AST::Comment?) -> void def write: (Array[AST::Declarations::t]) -> void def write_decl: (AST::Declarations::t) -> void def write_member: (AST::Declarations::Module::member) -> void def name_and_params: (TypeName, AST::Declarations::ModuleTypeParams) -> String? def name_and_args: (TypeName, Array[Types::t]) -> String? def method_name: (Symbol) -> String def write_def: (AST::Members::MethodDefinition) -> void def attribute: (:reader | :writer | :accessor, AST::Members::Attribute) -> void interface _Located def location: () -> Location? end def preserve_empty_line: (_Located?, _Located) -> void end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rbs-0.13.1 | sig/writer.rbs |
rbs-0.13.0 | sig/writer.rbs |