Skip to content

Commit 3e2c1c6

Browse files
committed
Style/Attr
1 parent 2523a96 commit 3e2c1c6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/puppet/application/filebucket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Puppet::Application::Filebucket < Puppet::Application
1313
option("--remote", "-r")
1414
option("--verbose", "-v")
1515

16-
attr :args
16+
attr_reader :args
1717

1818
def summary
1919
_("Store and retrieve files in a filebucket")

lib/puppet/file_bucket/file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Puppet::FileBucket::File
1313
extend Puppet::Indirector
1414
indirects :file_bucket_file, :terminus_class => :selector
1515

16-
attr :bucket_path
16+
attr_reader :bucket_path
1717

1818
def self.supported_formats
1919
[:binary]

lib/puppet/util/run_mode.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def initialize(name)
99
@name = name.to_sym
1010
end
1111

12-
attr :name
12+
attr_reader :name
1313

1414
def self.[](name)
1515
@run_modes ||= {}

0 commit comments

Comments
 (0)