Skip to content

Commit

Permalink
Use attr_accessor instead of writer & reader
Browse files Browse the repository at this point in the history
Change getter/setter methods for :instance for more semantic definition
  • Loading branch information
marlabrizel committed Jan 19, 2016
1 parent 08e4c7a commit 00e9841
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/kitchen/provisioner/ansible/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ module Ansible
class Config
include Kitchen::Configurable

attr_writer :instance
attr_reader :instance
attr_accessor :instance

default_config :ansible_sudo, true
default_config :ansible_verbose, false
Expand Down

0 comments on commit 00e9841

Please sign in to comment.