Skip to content

Commit

Permalink
correct perfect_toml.rbs syntax (#2)
Browse files Browse the repository at this point in the history
* correct perfect_toml.rbs syntax

I was getting parsing errors when SolarGraph tried to open this RBS file.
  • Loading branch information
benklop authored Nov 15, 2023
1 parent ee9461d commit 6bdfc3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sig/perfect_toml.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module PerfectTOML
def self.parse: (String toml_src, symbolize_names: bool) -> untyped
def self.load_file: (String filename, symbolize_names: bool) -> untyped
| (IO io, symbolize_names: bool) -> untyped
def self.generate: (
def self.save_file: (String filename, untyped data, sort_keys: boolean, use_literal_string: boolean, use_multiline_string: boolean, use_dot: boolean) -> String) -> void
| (IO io, untyped data, sort_keys: boolean, use_literal_string: boolean, use_multiline_string: boolean, use_dot: boolean) -> String) -> void
def self.generate: (untyped data, sort_keys: boolean, use_literal_string: boolean, use_multiline_string: boolean, use_dot: boolean) -> String
def self.save_file: (String filename, untyped data, sort_keys: boolean, use_literal_string: boolean, use_multiline_string: boolean, use_dot: boolean) -> void
| (IO io, untyped data, sort_keys: boolean, use_literal_string: boolean, use_multiline_string: boolean, use_dot: boolean) -> void

class LocalDateTime
def initialize: (untyped year, untyped month, untyped day, untyped hour, untyped min, untyped sec) -> void
Expand Down

0 comments on commit 6bdfc3b

Please sign in to comment.