Skip to content

Commit

Permalink
Remove all attr_accessor declarations in the Ast classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brasmusson committed Apr 3, 2015
1 parent e4c16e9 commit 044cca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/cucumber/core/ast/background.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ def initialize(gherkin_statement, language, location, comments, keyword, name, d
attr_reader :language, :description, :raw_steps
private :language, :description, :raw_steps

attr_accessor :feature
attr_accessor :comments, :keyword, :location
attr_reader :gherkin_statement
attr_reader :comments, :keyword, :location
attr_reader :gherkin_statement

def children
raw_steps
Expand Down
1 change: 0 additions & 1 deletion lib/cucumber/core/ast/doc_string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module Ast
class DocString < SimpleDelegator
include HasLocation
include DescribesItself
attr_accessor :file

attr_reader :content_type, :content

Expand Down

0 comments on commit 044cca8

Please sign in to comment.