-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate RBS files to
_internal
directory to avoid exposing RBS
- Loading branch information
Showing
2 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class ::Hash[unchecked out K, unchecked out V] | ||
def with_indifferent_access: () -> instance | ||
def deep_merge!: (instance other) -> self | ||
end | ||
|
||
class ::Object | ||
def presence: () -> String? | ||
def blank?: () -> bool | ||
def present?: () -> bool | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,17 @@ | ||
class ::Hash[unchecked out K, unchecked out V] | ||
def with_indifferent_access: () -> instance | ||
def deep_merge!: (instance other) -> self | ||
end | ||
|
||
class ::Object | ||
def presence: () -> String? | ||
def blank?: () -> bool | ||
def present?: () -> bool | ||
end | ||
|
||
interface _ActionControllerBase | ||
def render: (*untyped args) { () -> untyped } -> untyped | ||
end | ||
module MetaTags | ||
interface _ActionControllerBase | ||
def render: (*untyped args) { () -> untyped } -> untyped | ||
end | ||
|
||
interface _ActionViewBase | ||
def tag: (String name, ?Hash[String | Symbol, untyped] options, ?bool open) -> void | ||
interface _ActionViewBase | ||
def tag: (String name, ?Hash[String | Symbol, untyped] options, ?bool open) -> void | ||
|
||
def content_tag: (String name, String content, ?Hash[String | Symbol, untyped] options, ?bool open) -> void | ||
def content_tag: (String name, String content, ?Hash[String | Symbol, untyped] options, ?bool open) -> void | ||
|
||
def safe_join: (Array[String], String) -> String | ||
def safe_join: (Array[String], String) -> String | ||
|
||
def truncate: (String text, ?Hash[Symbol, untyped] options) -> String | ||
def truncate: (String text, ?Hash[Symbol, untyped] options) -> String | ||
|
||
def strip_tags: (String html) -> String | ||
def strip_tags: (String html) -> String | ||
end | ||
end |