def yamline_read(lines = nil, loaded = true)
      lines = file_lines unless lines
      return unless lines
      matcher = %r{^#{Regexp.escape(@yamline_settings[:prefix] + @yamline_settings[:name])}(.*?)#{Regexp.escape(@yamline_settings[:postfix])}$}
      line_l = []
      line_s = lines.select {|line| line_l << YAML::load($1) if line =~ matcher }
      return if line_s.empty?
      loaded ? line_l : line_s
    end
def yamline_read(lines = nil, loaded = true)
      lines = file_lines unless lines
      return unless lines
      matcher = %r{^#{Regexp.escape(@yamline_settings[:prefix] + @yamline_settings[:name])}(.*?)#{Regexp.escape(@yamline_settings[:postfix])}$}
      line_l = []
      line_s = lines.select {|line| line_l << YAML::load($1) if line =~ matcher }
      return if line_s.empty?
      loaded ? line_l : line_s
    end
Reads your supplied file/files if successfull returns readed object
  Dir['**/*.txt'].each {|f| a.yamline_set(:file => f); a.yamline_read }