Sha256: db1781905f03de64b8ce7d7a719667fc4196192988d0f66bfffe1770c0119a63

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

def assert_identifier(tree)
  assert_kind_of Block, tree
  assert_kind_of Statement, tree.elements.first
  assert_kind_of Assignment, tree.elements.first.elements.last
  assert_kind_of Identifier, tree.elements.first.elements.last.elements.first
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
koi-reference-parser-0.0.3 test/helpers/assert_identifier.rb