Skip to content

Commit

Permalink
Hide constructors from API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Sep 21, 2023
1 parent 0826295 commit f073652
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/sass/canonicalize_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CanonicalizeContext
# @return [Boolean]
attr_reader :from_import

# @!visibility private
def initialize(containing_url, from_import)
@containing_url = containing_url
@from_import = from_import
Expand Down
1 change: 1 addition & 0 deletions lib/sass/compile_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CompileError < StandardError
# @return [Array<String>]
attr_reader :loaded_urls

# @!visibility private
def initialize(message, full_message, sass_stack, span, loaded_urls)
super(message)
@full_message = full_message
Expand Down
1 change: 1 addition & 0 deletions lib/sass/compile_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class CompileResult
# @return [Array<String>]
attr_reader :loaded_urls

# @!visibility private
def initialize(css, source_map, loaded_urls)
@css = css
@source_map = source_map
Expand Down
1 change: 1 addition & 0 deletions lib/sass/logger/source_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class SourceLocation
# @return [Integer]
attr_reader :offset, :line, :column

# @!visibility private
def initialize(offset, line, column)
@offset = offset
@line = line
Expand Down
1 change: 1 addition & 0 deletions lib/sass/logger/source_span.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class SourceSpan
# @return [String, nil]
attr_reader :url, :context

# @!visibility private
def initialize(start, end_, text, url, context)
@start = start
@end = end_
Expand Down

0 comments on commit f073652

Please sign in to comment.