aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-12-13 08:34:20 -0500
committerGeorge Claghorn <george@basecamp.com>2017-12-13 08:34:49 -0500
commit74c4017daff90df6bebf260cbcec03c73aa3be10 (patch)
tree01733495f6047d2c110ae7c2e50825a9e5b73133 /activestorage
parent2fb78dc30528b3a2dcf539ba1d3c77f01f04885e (diff)
downloadrails-74c4017daff90df6bebf260cbcec03c73aa3be10.tar.gz
rails-74c4017daff90df6bebf260cbcec03c73aa3be10.tar.bz2
rails-74c4017daff90df6bebf260cbcec03c73aa3be10.zip
Exclude ActiveStorage::Filename{#parameters,::Parameters} from API docs [ci skip]
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/app/models/active_storage/filename.rb2
-rw-r--r--activestorage/app/models/active_storage/filename/parameters.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/app/models/active_storage/filename.rb b/activestorage/app/models/active_storage/filename.rb
index 79d55dc889..b9413dec95 100644
--- a/activestorage/app/models/active_storage/filename.rb
+++ b/activestorage/app/models/active_storage/filename.rb
@@ -50,7 +50,7 @@ class ActiveStorage::Filename
@filename.encode(Encoding::UTF_8, invalid: :replace, undef: :replace, replace: "�").strip.tr("\u{202E}%$|:;/\t\r\n\\", "-")
end
- def parameters
+ def parameters #:nodoc:
Parameters.new self
end
diff --git a/activestorage/app/models/active_storage/filename/parameters.rb b/activestorage/app/models/active_storage/filename/parameters.rb
index 58ce198d38..fb9ea10e49 100644
--- a/activestorage/app/models/active_storage/filename/parameters.rb
+++ b/activestorage/app/models/active_storage/filename/parameters.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class ActiveStorage::Filename::Parameters
+class ActiveStorage::Filename::Parameters #:nodoc:
attr_reader :filename
def initialize(filename)